//
//  UserLikeModel.m
//  练习
//
//  Created by hcios on 2017/7/7.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import "UserLikeModel.h"
#import "Tools.h"

@implementation UserLikeModel

-(instancetype)initWithDict:(NSDictionary *)dict{
    
    if (self = [self init]) {
        _image_description = NonEmptyString(dict[@"description"]);
        _image_Width = numberToString(dict[@"width"]);
        _image_height = numberToString(dict[@"height"]);
        _photo_url = NonEmptyString(dict[@"photo_url"]);
    }
    return self;
}


-(instancetype)initWithDict2:(NSDictionary *)dict{
    
    if (self = [self init]) {
        _image_Width2 = numberToString(dict[@"image_width"]);
        _image_height2 = numberToString(dict[@"image_height"]);
        _photo_url2 = NonEmptyString(dict[@"image_url"]);
    }
    return self;
}

@end
